/* freeircd prototypes.h
 *
 * Iniciado em 02/08/2006
 */

#ifndef _PROTOTYPES_H

#include "types.h"
extern inline char *get_irc_str(char *, int);
extern bool nick(CLIENTS **, CLIENTS *, CHANS **, long *);
extern void ping(CLIENTS *);
extern void user(CLIENTS *);
extern void pong(CLIENTS *);
extern void userhost(CLIENTS **, CLIENTS *);
extern void whois(CLIENTS **, CLIENTS *);
extern void privmsg(CLIENTS **, CLIENTS *);
extern void notice(CLIENTS **, CLIENTS *);
extern void join(CLIENTS **, CLIENTS *, long *, CHANS **);
extern void who(CLIENTS *);
extern void names(CLIENTS *);
extern void send_to_all_in_chan(CLIENTS *, char *, char *, ...);
extern void send_to_all(CLIENTS *, char *, ...);
extern void part(CLIENTS *, CHANS **, bool, long *, bool);
extern void oper(CLIENTS *, long *, IRCOPS *);
extern void topic(CLIENTS *, CHANS *);
extern void ison(CLIENTS **, CLIENTS *);
extern void list(CLIENTS *, CHANS *);
extern void kill_(CLIENTS **, CLIENTS *);
extern void kick(CLIENTS *, CHANS **, CLIENTS **, long *);
extern void away(CLIENTS *);
extern void help(CLIENTS *);
extern void invite(CLIENTS *, CLIENTS *);
extern void die(CLIENTS *, CLIENTS **, IRCOPS *);
extern void mode(CLIENTS *, CHANS *,long *);
extern void wallops(CLIENTS *, CLIENTS *);

extern void do_welcome(CLIENTS *, long, long, long, MOTD *);
extern void show_version(CLIENTS *);
extern void show_lusers(CLIENTS *, long, long, long);
extern void show_motd(CLIENTS *, MOTD *);
extern void info(CLIENTS *);

extern void nickserv(CLIENTS *, USERREG **, CHANS **, long *, CLIENTS **, long *);
extern USERREG *get_user_reg(CLIENTS *, USERREG **, CHANS *);
extern void save_userreg(USERREG *);
extern void load_userreg(USERREG **);
extern void check_unused_reg(USERREG **, CHANS *);
extern struct access_users *get_user_access(struct access_users *, char *);
extern void chanserv(CLIENTS *, CHANS **, USERREG *, CLIENTS **, long *);
#define _PROTOTYPES_H
#endif
